package com.xdcplus.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xdcplus.web.common.pojo.dto.DmSortingSummaryDTO;
import com.xdcplus.web.common.pojo.entity.DmSortingSummary;
import com.xdcplus.web.common.pojo.entity.DwWorkConf;
import com.xdcplus.web.common.pojo.vo.DmReworkSummaryAllVO;
import com.xdcplus.web.common.pojo.vo.DmSortingSummaryTypeVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 利珀  - 检测设备 服务类
 * </p>
 *
 * @author xukw
 * @since 2023-11-06
 */
public interface DmSortingService extends IService<DmSortingSummary> {

    /**
     * 清洗规则
     */
    void execute(DwWorkConf endDateTime);

    /**
     * 补偿规则
     */
    void compensateBuildData(DwWorkConf dwWorkConf);

    /**
     * 正背膜分选机查询接口
     */
    List<DmSortingSummaryTypeVO> querySortingInfo(DmSortingSummaryDTO dmSortingSummaryDTO);

    /**
     * 正背膜分选返工接口
     */
    DmReworkSummaryAllVO queryReworkInfo(DmSortingSummaryDTO dmSortingSummaryDTO);

    Map<String,Object> querySortingSearchInfo();


    /**
     * 热力图-x:管号，y:舟号  +不良数量
     * 按管号顺序，排列二维数组
     * zm: {xAxis: ['','',''],series:[{name:'',data:[[1,2,3,4,5],[1,2,3,4,5]}]}
     * bm: {xAxis: ['','',''],series:[{name:'',data:[1,2,3,4,5,],[1,2,3,4,5]}]}
     */
    Map<String,Object>  queryReworkInfoHotChart(DmSortingSummaryDTO dmSortingSummaryDTO);



}
